import request from '@/utils/request'

export function getPage(data) {
  return request({
    url: '/info/getPage',
    method: 'post',
    data
  })
}
export function add(data) {
  return request({
    url: '/info/add',
    method: 'post',
    data
  })
}
export function getOne(data) {
  return request({
    url: '/info/getOne',
    method: 'post',
    params: data
  })
}
export function upd(data) {
  return request({
    url: '/info/upd',
    method: 'post',
    data
  })
}
export function del(data) {
  return request({
    url: '/info/del',
    method: 'post',
    params: data
  })
}

